
<?php $this->layout= 'userDefault'; ?>
<?php echo $this->assign('logo', 'header logo'); ?>
<?php echo $this->assign('title', 'header titulo');?>

<div class="row-fluid show-grid" style="-webkit-border-radius: 4px; overflow: hidden;">
	<div class="span3">
	
		<div class="well sidebar-nav" style="background:#FCFCFC; -webkit-box-shadow:rgba(0, 0, 0, 0.3) 0 3px 3px; box-shadow:rgba(0, 0, 0, 0.3) 0 3px 3px">  
			<ul class="nav nav-list myTab">
				<li><?php echo $this->Html->link('Filtro1', array('controller' => 'viewProductos', 'action' => 'listProductos', 'todas')); ?></li>
				<li><?php echo $this->Html->link('Filtro2', array('controller' => 'viewProductos', 'action' => 'listProductos', 'todas')); ?></li>
				<li><?php echo $this->Html->link('Filtro3', array('controller' => 'viewProductos', 'action' => 'listProductos', 'todas')); ?></li>	
											
				<li class="divider"></li>
				
				<li><?php echo $this->Html->link('Lista Completa', array('controller' => 'viewProductos', 'action' => 'listProductos', 'todas')); ?></li>
			</ul>
		</div>
		
		<div class="well sidebar-nav" style="background:#FCFCFC; -webkit-box-shadow:rgba(0, 0, 0, 0.3) 0 3px 3px; box-shadow:rgba(0, 0, 0, 0.3) 0 3px 3px">  
			<ul class="nav nav-list myTab">
				 <li class="nav-header">Filtro 2</li>
				 <?php
				 foreach ($genres as $genre) {

				 	echo '<li>';
				 	//echo $this->Html->link($genre, array('controller' => 'viewProductos', 'action' => 'listProductos', $selectedCategory, $filters.'genre_'.$genre));
				 	echo '</li>';
				 }
				 ?>
				 
				 <li class="divider"></li>
				 
				 
			</ul>
		</div>
	</div>
	<div class="span9 well" style="background:#FCFCFC; -webkit-box-shadow:rgba(0, 0, 0, 0.3) 1px 3px 3px; box-shadow:rgba(0, 0, 0, 0.3) 1px 3px 3px;">
	
		<div>
			<div class="pagination pagination-right" style="margin: 0 0 10px 0;">
                        
                            
                        
			
                        <?php echo $this->Paginator->sort('nombre', 'Ordenar por nombre');?></span>
			<span class="counter"><?php echo $this->Paginator->counter('Mostrando {:start} a {:end} de {:count}');?></span>
				<ul>
					<?php 
					//$this->Paginator->options(array(    'update' => '#listas',    'evalScripts' => true,));
					echo $this->Paginator->first('<<', array('tag' => 'li'));
					echo $this->Paginator->prev('< ', array('tag' => 'li'), null, array('tag' => 'li', 'class' => 'prev newCurrent'));
					echo $this->Paginator->numbers(array('separator' => '', 'tag' => 'li', 'currentClass' => 'newCurrent', 'modulus' => 2));
					echo $this->Paginator->next('>', array('tag' => 'li'), null, array('tag' => 'li', 'class' => 'next newCurrent'));
					echo $this->Paginator->last('>>', array('tag' => 'li'));
					?>
				</ul>
			</div>
		</div>
		
		<?php echo $this->render('/elements/list_producto', ''); ?>
		
		<div>
			<div class="pagination pagination-right" style="margin: 10px 0 0 0;">
				<span class="counter" style="margin-left:210px;"><?php echo $this->Paginator->counter('Mostrando {:start} a {:end} de {:count}');?></span>
				<ul>
					<?php 
					echo $this->Paginator->first('<<', array('tag' => 'li'));
					echo $this->Paginator->prev('< ', array('tag' => 'li'), null, array('tag' => 'li', 'class' => 'prev newCurrent'));
					echo $this->Paginator->numbers(array('separator' => '', 'tag' => 'li', 'currentClass' => 'newCurrent', 'modulus' => 2));
					echo $this->Paginator->next('>', array('tag' => 'li'), null, array('tag' => 'li', 'class' => 'next newCurrent'));
					echo $this->Paginator->last('>>', array('tag' => 'li'));
					?>
				</ul>
			</div>
		</div>
	</div>
</div>

<?php
echo $this->Js->writeBuffer();?>